package com.yuerlive.rainbow.module.live.presenter;

import com.yuerlive.rainbow.base.BasePresenter;
import com.yuerlive.rainbow.base.BaseView;
import com.yuerlive.rainbow.entity.ContributionData;

import java.util.List;

/**
 * Created by xiaoyi on 2017/6/14.
 */

public interface ContributionContract {
    interface Presenter extends BasePresenter {
        void getContributionList(String userId, boolean loadMore);

        void refresh(String userId);
    }

    interface View extends BaseView<Presenter> {
        void showContributionList(List<ContributionData> datas, boolean loadMore);
    }
}
